﻿@model ElCharro01.Models.Variant

@{
    ViewBag.Title = "Detail";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<h2>Detail</h2>

<fieldset>
    <legend>Variant</legend>
    <div class="display-field">
            <img alt="@Model.Product.Nome" src="/Content/Images/Raw/@Model.Image.First().Path"  />
      </div>

    <div class="display-label">Colore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Colore)
    </div>

    <div class="display-label">PrezzoUnitario</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PrezzoUnitario)
    </div>

    <div class="display-label">Taglia</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Taglia)
    </div>

    <div class="display-label">InStock</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.InStock)
    </div>
</fieldset>
 <div class="editor-field">
            @Html.DropDownList("Taglia", new SelectList(ViewBag.Taglia))
            
        </div>


<p>

    @Html.ActionLink("Back to List", "Index")
</p>
